Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(datepicker): make calendar responsive #3086

Merged
merged 5 commits into from
Feb 14, 2017
Merged

Conversation

mmalerba
Copy link
Contributor

calendar cells expand to fill available width, but maintain their 1:1 aspect ratio

@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Feb 13, 2017
$mat-calendar-table-cell-padding: 1px !default;
$mat-calendar-table-cell-content-size: 32px !default;
$mat-calendar-table-label-padding-start: 5% !default;
$mat-calendar-table-label-translation: -.5em;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very nit: why do we use em and px at the same time? Can we convert it to px?

@mmalerba
Copy link
Contributor Author

done

@tinayuangao
Copy link
Contributor

LGTM

@mmalerba mmalerba merged commit bec0a02 into angular:datepicker Feb 14, 2017
mmalerba added a commit that referenced this pull request Feb 27, 2017
* started working on responsive calendar table

* fix today, selected, hover styles

* fix label positioning

* replace em with px

* fix today cell styling
mmalerba added a commit that referenced this pull request Mar 2, 2017
* started working on responsive calendar table

* fix today, selected, hover styles

* fix label positioning

* replace em with px

* fix today cell styling
mmalerba added a commit to mmalerba/components that referenced this pull request Mar 6, 2017
* started working on responsive calendar table

* fix today, selected, hover styles

* fix label positioning

* replace em with px

* fix today cell styling
mmalerba added a commit that referenced this pull request Mar 17, 2017
* started working on responsive calendar table

* fix today, selected, hover styles

* fix label positioning

* replace em with px

* fix today cell styling
mmalerba added a commit to mmalerba/components that referenced this pull request Mar 28, 2017
* started working on responsive calendar table

* fix today, selected, hover styles

* fix label positioning

* replace em with px

* fix today cell styling
mmalerba added a commit that referenced this pull request Apr 14, 2017
* started working on responsive calendar table

* fix today, selected, hover styles

* fix label positioning

* replace em with px

* fix today cell styling
mmalerba added a commit that referenced this pull request Apr 20, 2017
* started working on responsive calendar table

* fix today, selected, hover styles

* fix label positioning

* replace em with px

* fix today cell styling
mmalerba added a commit that referenced this pull request Apr 29, 2017
* started working on responsive calendar table

* fix today, selected, hover styles

* fix label positioning

* replace em with px

* fix today cell styling
mmalerba added a commit that referenced this pull request May 5, 2017
* started working on responsive calendar table

* fix today, selected, hover styles

* fix label positioning

* replace em with px

* fix today cell styling
mmalerba added a commit that referenced this pull request May 9, 2017
* started working on responsive calendar table

* fix today, selected, hover styles

* fix label positioning

* replace em with px

* fix today cell styling
@mmalerba mmalerba deleted the dp-rs branch April 3, 2018 15:16
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes PR author has agreed to Google's Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants